package model.semantics;

import java.util.List;

import model.State;

public class AggregatorOperation<T> extends Operation<T> {

	public AggregatorOperation(int order) {
		super(order);
	}
	
	@Override
	protected T evaluateSafely(State<T> state, List<T> values) {
		return values.get(values.size()-1);
	}

}
